
public class SegMomentsList 
{
	public double W3;
    public double W7_Lp1;
    public double W8_Lp2;
    public double[] M;

    public SegMomentsList(double w3, double W7_Lp1, double W8_Lp2, double[] M) 
    {
        this.W3 = w3;
        this.W7_Lp1 = W7_Lp1;
        this.W8_Lp2 = W8_Lp2;
        this.M = M;
    }
    
	@Override
	public String toString() 
	{
		String s = "\nW3=" + W3 + ", \nW7_Lp1=" + W7_Lp1 + ", \nW8_Lp2="
				+ W8_Lp2;
		
		for(int i=1; i<M.length; i++)
			s+="\nM["+i+"]="+M[i];
		return s;
	}
}
